<style>
    #reportRectificationAssign-edit .layui-input-block {
        margin-left: 112px;
        margin-top: 8px;
    }
    #reportRectificationAssign-edit .grey-input{
        background-color: #dfa7a73b;
    }
</style>
<div class="febs-container" id="reportRectificationAssign-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="reportRectificationAssign-edit-form">

            <div class="layui-field-box">
                <div class="layui-form-item febs-hide">
                    <label class="layui-form-label febs-form-item-require">：报告id</label>
                    <div class="layui-input-block">
                        <input type="text" name="reportId" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs12">
                            <label class="layui-form-label layui-form-label-detail ">事故标题：</label>
                            <div class="layui-input-block" th:text="${accidentReport.accidentTitle}">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label layui-form-label-detail ">事故类型：</label>
                            <div class="layui-input-block" name="accidentType">
                            </div>
                        </div>
                        <div class="layui-col-xs6">
                            <label class="layui-form-label layui-form-label-detail ">发生时间：</label>
                            <div class="layui-input-block" th:text="${accidentReport.accidentDateString}">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs12">
                            <label class="layui-form-label layui-form-label-detail ">发生地点：</label>
                            <div class="layui-input-block" th:text="${accidentReport.accidentAreaName}">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">期限时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="rectificationDeadline" id="rectificationDeadline"
                                       placeholder="请输入期限时间" autocomplete="off" class="layui-input" lay-verify="date">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label">整改人：</label>
                            <div class="layui-input-block" style="position: relative">
                                <input type="text" name="rectificationUserId" class="febs-hide">
                                <input type="text" name="rectificationUserName" class="febs-hide">
                                <input type="text" name="rectificationRealName" autocomplete="off" class="layui-input"
                                       minlength="2" maxlength="10" disabled>
                                <div class="layui-input-suffix" id="rectificationDeptName">
                                    <i class="layui-icon layui-icon-add-1"></i>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs6">
                            <label class="layui-form-label">整改部门：</label>
                            <div class="layui-input-block layui-input-icon-container">
                                <input type="text" name="rectificationDeptId" class="febs-hide">
                                <input type="text" name="rectificationDeptName" autocomplete="off" class="layui-input febs-hide"
                                       minlength="2" maxlength="10" disabled>
                                <span id="rectificationDeptNameDiv">
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs12">
                            <label class="layui-form-label febs-form-item-require">备注：</label>
                            <div class="layui-input-block">
                                    <textarea type="text" name="rectificationRemark" autocomplete="off" class="layui-textarea" minlength="2"
                                              maxlength="500" placeholder="请输入备注" lay-verify="range"></textarea>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        <div class="layui-form-item febs-hide">
            <button class="layui-btn" lay-submit="" lay-filter="reportRectificationAssign-edit-form-submit" id="submit"></button>
            <button type="reset" class="layui-btn" id="reset"></button>
        </div>
    </form>
    </div>
</div>
<script data-th-inline="javascript">
    var accidentReportData = [[${accidentReport}]];
</script>
<script th:src="@{/febs/js/accidentReport/reportRectificationAssign.js(v=1)}"></script>